package cn.org.eshow.bean.query;

import java.util.Date;

/**
 * 详细商品查询对象
 */
public class ProductItemQuery extends BaseQuery {


    public Integer id;//商品ID
    public Date startAddTime;//开始添加时间
    public Date endAddTime;//结束添加时间
    public Date startUpdateTime;//开始更新时间
    public Date endUpdateTime;//结束更新时间
    public String title;// 详细商品标题(颜色)
    public Integer state;//状态（1上架，0下架）
    public Integer productId;// 商品ID
    public Boolean enabled;//是否可用

    public ProductItemQuery() {
        super();
    }

    public ProductItemQuery(Integer productId, Boolean enabled) {
        this.productId = productId;
        this.enabled = enabled;
    }

    public ProductItemQuery(Integer state, Integer productId, Boolean enabled) {
        this.state = state;
        this.productId = productId;
        this.enabled = enabled;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getStartAddTime() {
        return startAddTime;
    }

    public void setStartAddTime(Date startAddTime) {
        this.startAddTime = startAddTime;
    }

    public Date getEndAddTime() {
        return endAddTime;
    }

    public void setEndAddTime(Date endAddTime) {
        this.endAddTime = endAddTime;
    }

    public Date getStartUpdateTime() {
        return startUpdateTime;
    }

    public void setStartUpdateTime(Date startUpdateTime) {
        this.startUpdateTime = startUpdateTime;
    }

    public Date getEndUpdateTime() {
        return endUpdateTime;
    }

    public void setEndUpdateTime(Date endUpdateTime) {
        this.endUpdateTime = endUpdateTime;
    }

}